package com.passer.web.travel.domain;

import com.passer.common.annotation.Excel;
import com.passer.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 图片信息对象 t_images
 *
 * @author passer
 * @date 2021-11-23
 */
public class TImages extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 图片id */
    private Long sid;

    /** 图片路径 */
    @Excel(name = "图片路径")
    private String src;

    /** 图片链接 */
    @Excel(name = "图片链接")
    private String href;

    /** 图片标题 */
    @Excel(name = "图片标题")
    private String title;

    /** 图片类别 */
    @Excel(name = "图片类别")
    private String type;

    /** 图片排序 */
    @Excel(name = "图片排序")
    private Long sort;

    /** 景点id */
    @Excel(name = "景点id")
    private Long jid;

    /** 美食id */
    @Excel(name = "美食id")
    private Long mid;

    /** 游记id */
    @Excel(name = "游记id")
    private Long yid;

    /** 酒店id */
    @Excel(name = "酒店id")
    private Long hid;

    public void setSid(Long sid)
    {
        this.sid = sid;
    }

    public Long getSid()
    {
        return sid;
    }
    public void setSrc(String src)
    {
        this.src = src;
    }

    public String getSrc()
    {
        return src;
    }
    public void setHref(String href)
    {
        this.href = href;
    }

    public String getHref()
    {
        return href;
    }
    public void setTitle(String title)
    {
        this.title = title;
    }

    public String getTitle()
    {
        return title;
    }
    public void setType(String type)
    {
        this.type = type;
    }

    public String getType()
    {
        return type;
    }
    public void setSort(Long sort)
    {
        this.sort = sort;
    }

    public Long getSort()
    {
        return sort;
    }
    public void setJid(Long jid)
    {
        this.jid = jid;
    }

    public Long getJid()
    {
        return jid;
    }
    public void setMid(Long mid)
    {
        this.mid = mid;
    }

    public Long getMid()
    {
        return mid;
    }
    public void setYid(Long yid)
    {
        this.yid = yid;
    }

    public Long getYid()
    {
        return yid;
    }
    public void setHid(Long hid)
    {
        this.hid = hid;
    }

    public Long getHid()
    {
        return hid;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("sid", getSid())
            .append("src", getSrc())
            .append("href", getHref())
            .append("title", getTitle())
            .append("type", getType())
            .append("sort", getSort())
            .append("jid", getJid())
            .append("mid", getMid())
            .append("yid", getYid())
            .append("hid", getHid())
            .toString();
    }
}
